//
//  VerifySMSRequest.m
//  EasyToo
//
//  Created by YuanDee on 13-8-25.
//
//  验证手机短信

#import "VerifySMSRequest.h"

@implementation VerifySMSRequest
-(id)initWithCheckCode:(NSString *)checkCode
                CardId:(NSString *)cardId
               Request:(NSString *)request
              Delegate:(id<ServerCommunicationDelegate>)delegate;
{
    self = [super init];
    if(self)
    {
        self.checkCode = checkCode;
        self.cardId = cardId;
        self.request = request;
        
        [self.bodyJsonDict setObject:self.checkCode forKey:@"checkCode"];
        [self.bodyJsonDict setObject:self.request forKey:@"request"];
        [self.bodyJsonDict setObject:self.cardId forKey:@"cardId"];
        [self.headerJsonDict setObject:@"016013" forKey:@"TranCode"];
        
        [self buildJsonRequest];
    }
    return self;

}
-(void)dealloc
{
    self.checkCode = nil;
    self.request = nil;
    self.cardId = nil;
    [super dealloc];
}
@end
